
#include <stdio.h>
int main(void)
{
   int a[2][3]={1,2,3,4,5,6};
   int *b[6];
   int i,j,k;
   int sum=0;
   for(i=0;i<6;i++)
   {
    b[i]=&a[0][i];
    sum+=*(b[i]);
   }
printf("sum=%d\n",sum);

    return 0;
}